import baseService from "@/utils/http/downloadFileAxios.js";
export class EnumAPI {
  //用户登录
  userLogin = (data) => {
    return baseService({
      url: "/login",
      method: "post",
      data: data,
    });
  };
  //用户登录pc端
  userLoginPc = (data) => {
    return baseService({
      url: "/userLogin",
      method: "post",
      data: data,
    });
  };
 
  //获取用户信息
  getInfo = () => {
    return baseService({
      url: `/user/getInfo`,
      method: "get",
    });
  };
 
  //上传文件
  getViewPicture = (data) => {
    return baseService({
      url: "/viewPicture",
      method: "GET",
      params: data,
    });
  };
}
